%li{ class: active_when(params[:id] == wiki_page.slug) }
  = link_to project_wiki_path(@project, wiki_page) do
    = wiki_page.title.capitalize
